<?php
class SettingTemplateAction extends AdminAction
{
	public function __construct()
	{
		parent::__construct();
		$this->layout = 'default';
	}
	
	public function execute()
	{
		//获取模板目录下的所有模板
		$this->data['templates'] = AdminUtil::getTemplates();
		
		$this->data['menu'] = 'setting';
		$this->data['submenu'] = 'template';
	}
}
